package cn.kclm.config;

import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.PropertySource;

/**
 * @Author : lvhx
 * @Date: 2025/11/4 14:43
 * @Description:
 * @Configuration 告诉Spring这个一个配置类
 * 纯注解的开发
 */
@Configuration
//@ComponentScan("cn.kclm.dao")
//@ComponentScan({"cn.kclm.dao","cn.kclm.service"})
@ComponentScan("cn.kclm")
// 读取配置文件
@PropertySource("jdbc.properties")
public class SpringConfig {
}
